package ipdesk.model.user.bean;

public class UserBean
{
	private String tagValue;
	private String tagText;
	
	private String userSeq;
	private String userEmail1;
	private String userEmail2;
	
	private String userEmail;
	
	private String userName;
	private String userPassword1;
	private String userPassword2;
	
	private String userPassword;
	private String lastLoginTime;
	private String lastLoginIp;
	private String phone1;
	private String phone2;
	private String phone3;
	
	private String phone;
	private String regTime;
	private String orgCode;
	private String authCode;
	private String deskCode;
	
	public UserBean()
	{
		
	}
	
	// 폼페이지의 select, checkbox, radio의 리스트로 설정되는 값.
	public UserBean(String tagValue, String tagText)
	{
		this.tagValue = tagValue;
		this.tagText = tagText;
	}
	
	
	public String getTagValue()
	{
		return tagValue;
	}

	public void setTagValue(String tagValue)
	{
		this.tagValue = tagValue;
	}

	public String getTagText()
	{
		return tagText;
	}

	public void setTagText(String tagText)
	{
		this.tagText = tagText;
	}

	public String getUserSeq()
	{
		return userSeq;
	}

	public void setUserSeq(String userSeq)
	{
		this.userSeq = userSeq;
	}

	public String getUserEmail1()
	{
		return userEmail1;
	}

	public void setUserEmail1(String userEmail1)
	{
		this.userEmail1 = userEmail1;
	}

	public String getUserEmail2()
	{
		return userEmail2;
	}

	public void setUserEmail2(String userEmail2)
	{
		this.userEmail2 = userEmail2;
	}

	public String getUserEmail()
	{
		if(userEmail1 != null && userEmail2 != null)
		{
			userEmail = userEmail1 + "@" + userEmail2;
		}
		
		return userEmail;
	}

	public void setUserEmail(String userEmail)
	{
		this.userEmail = userEmail;
	}

	public String getUserName()
	{
		return userName;
	}

	public void setUserName(String userName)
	{
		this.userName = userName;
	}

	public String getUserPassword1()
	{
		return userPassword1;
	}

	public void setUserPassword1(String userPassword1)
	{
		this.userPassword1 = userPassword1;
	}
	
	public String getUserPassword2()
	{
		return userPassword2;
	}

	public void setUserPassword2(String userPassword2)
	{
		this.userPassword2 = userPassword2;
	}
		
	public String getLastLoginTime()
	{
		return lastLoginTime;
	}

	public void setLastLoginTime(String lastLoginTime)
	{
		this.lastLoginTime = lastLoginTime;
	}

	public String getLastLoginIp()
	{
		return lastLoginIp;
	}

	public void setLastLoginIp(String lastLoginIp)
	{
		this.lastLoginIp = lastLoginIp;
	}

	public String getPhone1()
	{
		return phone1;
	}

	public void setPhone1(String phone1)
	{
		this.phone1 = phone1;
	}

	public String getPhone2()
	{
		return phone2;
	}

	public void setPhone2(String phone2)
	{
		this.phone2 = phone2;
	}

	public String getPhone3()
	{
		return phone3;
	}

	public void setPhone3(String phone3)
	{
		this.phone3 = phone3;
	}

	public String getPhone()
	{
		if(phone1 != null && phone2 != null && phone3 != null)
		{
			phone = phone1 + "-" + phone2 + "-" + phone3;
		}
		
		
		return phone;
	}

	public void setPhone(String phone)
	{
		this.phone = phone;
	}

	public String getRegTime()
	{
		return regTime;
	}

	public void setRegTime(String regTime)
	{
		this.regTime = regTime;
	}

	public String getUserPassword()
	{
		return userPassword;
	}

	public void setUserPassword(String userPassword)
	{
		this.userPassword = userPassword;
	}

	public String getOrgCode()
	{
		return orgCode;
	}

	public void setOrgCode(String orgCode)
	{
		this.orgCode = orgCode;
	}

	public String getAuthCode()
	{
		return authCode;
	}

	public void setAuthCode(String authCode)
	{
		this.authCode = authCode;
	}

	public String getDeskCode()
	{
		return deskCode;
	}

	public void setDeskCode(String deskCode)
	{
		this.deskCode = deskCode;
	}
	
	
	
}
